public interface JIDLNumber
JIDLShort, JIDLLong, JIDLInteger, JIDLFloat, JIDLDouble, JIDLChar, JIDLByte, JIDLBoolean
The JIDLNumber class wraps a primitive java number as a mutable object usable by the Java-IDL Export bridge.
Member Summary |
|
Methods |
|
boolean |
Return the value of the wrapped primitive. |
byte |
Return the value of the wrapped primitive. |
char |
Return the value of the wrapped primitive. |
double |
Return the value of the wrapped primitive. |
float |
Return the value of the wrapped primitive. |
int |
Return the value of the wrapped primitive. |
long |
Return the value of the wrapped primitive. |
void |
Change the value of the wrapper object |
short |
Return the value of the wrapped primitive. |
public boolean booleanValue()
Return the value of the wrapped primitive.
true if non-zero, false otherwise
public byte byteValue()
Return the value of the wrapped primitive.
value that is wrapped by this object
public char charValue()
Return the value of the wrapped primitive.
value that is wrapped by this object
public double doubleValue()
Return the value of the wrapped primitive.
value that is wrapped by this object
public float floatValue()
Return the value of the wrapped primitive.
value that is wrapped by this object
public int intValue()
Return the value of the wrapped primitive.
value that is wrapped by this object
public long longValue()
Return the value of the wrapped primitive.
value that is wrapped by this object
public void setValue(com.idl.javaidl.JIDLNumber value)
Change the value of the wrapper object
value - JIDLNumber to wrap for use in the export bridge
public short shortValue()
Return the value of the wrapped primitive.
value that is wrapped by this object